﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;


namespace KingRoad.EPM.PersonnelLogEntity.Model
{
    /// <summary> 
    /// 文件生成时间 2017/2/5 14:21:46
    /// </summary> 
    [Serializable]
    [ModelMap("Scm_AssessmentUnit", new string[] { "Au_ID" })]
    public class ScmAssessmentunitInfo : BaseEntity
    {
        public ScmAssessmentunitInfo()
        {

        }


        private string _auId;
        /// <summary>
        /// 安全考核与被考核单位关联主键
        /// </summary>
        [ColumnMap("Au_ID", System.Data.DbType.String)]
        public string Au_ID
        {
            get { return _auId; }
            set
            {
                if (object.Equals(this._auId, value) != true)
                {
                    this._auId = value;
                    this.RaisePropertyChanged("Au_ID");
                }
            }
        }


        private string _saId;
        /// <summary>
        /// 安全考核ID
        /// </summary>
        [ColumnMap("Sa_ID", System.Data.DbType.String)]
        public string Sa_ID
        {
            get { return _saId; }
            set
            {
                if (object.Equals(this._saId, value) != true)
                {
                    this._saId = value;
                    this.RaisePropertyChanged("Sa_ID");
                }
            }
        }


        private int _auUnitid;
        /// <summary>
        /// 被考核单位ID
        /// </summary>
        [ColumnMap("Au_UnitID", System.Data.DbType.Int32)]
        public int Au_UnitID
        {
            get { return _auUnitid; }
            set
            {
                if (object.Equals(this._auUnitid, value) != true)
                {
                    this._auUnitid = value;
                    this.RaisePropertyChanged("Au_UnitID");
                }
            }
        }


        private string _auSection;
        /// <summary>
        /// 被考核标段
        /// </summary>
        [ColumnMap("Au_Section", System.Data.DbType.String)]
        public string Au_Section
        {
            get { return _auSection; }
            set
            {
                if (object.Equals(this._auSection, value) != true)
                {
                    this._auSection = value;
                    this.RaisePropertyChanged("Au_Section");
                }
            }
        }


        private string _auUnitname;
        /// <summary>
        /// 被考核单位名称
        /// </summary>
        [ColumnMap("Au_UnitName", System.Data.DbType.String)]
        public string Au_UnitName
        {
            get { return _auUnitname; }
            set
            {
                if (object.Equals(this._auUnitname, value) != true)
                {
                    this._auUnitname = value;
                    this.RaisePropertyChanged("Au_UnitName");
                }
            }
        }


        private decimal? _auScore;
        /// <summary>
        /// 考核得分
        /// </summary>
        [ColumnMap("Au_Score", System.Data.DbType.Decimal)]
        public decimal? Au_Score
        {
            get { return _auScore; }
            set
            {
                if (object.Equals(this._auScore, value) != true)
                {
                    this._auScore = value;
                    this.RaisePropertyChanged("Au_Score");
                }
            }
        }


    }
}



